home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / HYP / H-I / HyperHackers.cpt / Hyper-Hackers Queue 1.0 / card_36752.txt < prev    next >
Text File  |  1989-02-26  |  1KB  |  40 lines

  1. -- card: 36752 from stack: in.0
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 3797
  5. -- name: 
  6.  
  7.  
  8. -- part contents for background part 1
  9. ----- text -----
  10.  
  11. From: beloin@batcomputer.tn.cornell.edu (Ron Beloin)
  12.  
  13. Date: 10 Mar 88 16:00:51 GMT
  14.  
  15. >  put the number of cards into numCards
  16. >  repeat with i = 1 to numCards
  17. >    go card i of stack "sourceStack"
  18. >    put field "f1" into f1contents
  19. >    - and so on
  20. >  go stack "destination" - has one card to begin with, with fields, etc
  21. >  if i > the number of cards then
  22. >    doMenu "New Card"
  23.  
  24. now, the new card is card number 2, since you started on card 1...
  25.  
  26. >  end if
  27.  
  28. >  go card i 
  29. this takes you to the last card, not the new one...
  30.  
  31. and this overwrites previous data...
  32. So it had nothing to do with compacting the stack. I couldn't see what
  33. was wrong until I played with it a bit. You can skip the if statement
  34. above and just make a new card and stuff away..
  35.  
  36.  
  37.  
  38. -- part contents for background part 45
  39. ----- text -----
  40. Re: Copying contents of stacks